using PBMessage;
using UnityEngine;
using System.Collections;

public class SC_ServerUpdate_Handler :IPBHandler
{
    GameScene curScene;
    public void Exec(object packet) 
    {
        if (curScene == null)
        {
            curScene = Game.Scene.Cur<GameScene>();
        }
        SC_ServerUpdate PacketData = (SC_ServerUpdate)packet;
        curScene.ServerUpdate(PacketData);
    }
}
